package com.example.crashhandler;

import android.app.Application;

public class MyApplication extends Application {
	
	@Override
	public void onCreate() {
		super.onCreate();
		
		// 设置为自定义异常处理
		Thread.setDefaultUncaughtExceptionHandler(AppUncaughtExceptionHandler.getInstance(this));
	}

}
